package com.linkhub.oms.admin.modules.user.domain.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Description: MerchantCompanyModifyParam
 * @Author: echo
 * @Date: 2024/5/16 15:37
 * @Version: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("MerchantCompanyModifyParam")
public class MerchantCompanyModifyParam extends BaseUserParam implements Serializable {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "公司名称")
    @NotBlank
    @Length(max = 50, message = "companyName overLength")
    private String companyName;

    @ApiModelProperty(value = "公司地址")
    @Length(max = 200, message = "address overLength")
    private String address;

    @ApiModelProperty(value = "税号vat")
    private String dutyNumber;

    @ApiModelProperty(value = "ioss")
    private String ioss;
}
